//
//  MBSpaceCollectionMusicCell.h
//  MiBaoTu
//
//  Created by admin on 16/9/21.
//  Copyright © 2016年 com.caesartech15. All rights reserved.
//  歌曲

#import <UIKit/UIKit.h>

@class MBSpaceCollectionMusicCell;
@protocol MBSpaceCollectionMusicCellDelegate <NSObject>

- (void)onSelectItemForGouXuanWithValue:(id)value WithSelect:(BOOL)isSelect WithView:(MBSpaceCollectionMusicCell *)view;
- (void)onSelectItemForMoewWithValue:(id)value withView:(MBSpaceCollectionMusicCell *)view;

@end

@interface MBSpaceCollectionMusicCell : UITableViewCell

@property (nonatomic,strong) UIButton    *selectBt;
@property (nonatomic,assign)id<MBSpaceCollectionMusicCellDelegate>delegate;
@property (nonatomic,assign)BOOL isHideMoewBt;//是否需要隐藏更多按钮
@property (nonatomic,assign)UIDeviceOrientation     orientation;
@property (nonatomic,strong)NSDictionary *dateDic;  //正在下载
@property (nonatomic,strong)NSDictionary *downedDic; //已下载
@property (nonatomic,strong)NSDictionary *musicDic; //歌曲信息

@property (nonatomic,assign)BOOL isShowPlayCount; //是否隐藏试听次数，默认隐藏NO
@property (nonatomic,assign)BOOL isShowDowned; //是否隐藏已下载图标，默认隐藏NO
//是否处于编译状态、全选状态
- (void)onCompileCellForLayout:(BOOL)isCompile WithAllSelct:(BOOL)isAllSelct;

//单个点击选中
- (void)onGouXuanToSelectAction:(UIButton *)bt;

@end
